/* eslint-disable */
import "@css/reset.scss";
import "@css/com.scss";
import "./index.scss";
window.$ = $;
import "@/htmlCommon/header.js";

$(document).ready(function () {
  $(".product-list li").hover(function () {
    $(this).addClass("active").siblings().removeClass("active");
    var index = $(this).index();
    $(".sdk-item")
      .eq(index)
      .addClass("item-content-active")
      .siblings(".sdk-item")
      .removeClass("item-content-active");
  });
  $(".check-btn .check-product").click(function () {
    let scrollHeight = $(".index-header").innerHeight();
    // $(document).scrollTop(scrollHeight + 90)
    $("html,body").animate({ scrollTop: scrollHeight + 120 }, 500);
  });
});
